package template;

import java.util.ArrayList;
import java.util.List;

public class GenericAndCovariance {
	public static void main(String[] args){
		List<? extends Fruit> fruits = new ArrayList<Apple>();
//		fruits.add(new Object());
	}
}
